{"version":3,"sources":["destination-selector.js"],"names":["BX","namespace","Filter","DestinationSelectorManager","fields","controls","onSelect","isNumeric","prefix","params","type","isNotEmptyObject","item","isNotEmptyString","selectorId","control","value","id","re","RegExp","found","match","isArray","eventResult","onCustomEvent","window","setData","util","htmlspecialcharsback","name","getLabelNode","blur","onDialogOpen","DestinationSelector","items","onDialogClose","this","filterId","settings","fieldId","inited","create","self","initialize","prototype","getSetting","defaultval","hasOwnProperty","getSearchInput","opened","initialValue","initialSettings","itemId","itemName","Main","filterManager","getById","getApi","setFields","addCustomEvent","delegate","onCustomEntitySelectorOpen","onCustomEntitySelectorClose","onGetStopBlur","onBeforeInitDialog","onCustomEntityRemove","open","input","current","getCurrentValues","inputId","containerId","currentValue","currentUser","entityId","bindNode","getField","close","selectorManagerV2","closeDialog","getId","setTimeout","event","result","findParent","target","className","stopBlur","instance","UI","SelectorManager","instances","hiddenInput","itemsSelected","blockInit"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,aAEbD,GAAGE,OAAOC,4BAETC,UACAC,YAEAC,SAAU,SAASC,EAAWC,EAAQC,GAErC,IACET,GAAGU,KAAKC,iBAAiBF,KACtBT,GAAGU,KAAKC,iBAAiBF,EAAOG,QAChCZ,GAAGU,KAAKG,iBAAiBJ,EAAOK,YAErC,CACC,OAGD,IACCA,EAAaL,EAAOK,WACpBF,EAAOH,EAAOG,KAEf,IAAIG,EAAUf,GAAGE,OAAOC,2BAA2BE,SAASS,GAC5D,GAAIC,EACJ,CACC,IAAIC,EAAQJ,EAAKK,GAEjB,GACCjB,GAAGU,KAAKG,iBAAiBN,IACtBA,GAAa,KACbP,GAAGU,KAAKG,iBAAiBL,GAE7B,CACC,IAAIU,EAAK,IAAIC,OAAO,IAAMX,EAAS,WACnC,IAAIY,EAAQJ,EAAMK,MAAMH,GACxB,GAAIlB,GAAGU,KAAKY,QAAQF,GACpB,CACCJ,EAAQI,EAAM,QAIhB,CACC,IAAIG,KACJvB,GAAGwB,cAAcC,OAA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